<template>
  <div class="introduce">
      <div class="content">
        <div class="avatar"><img src="https://stone-1315935641.cos.ap-chengdu.myqcloud.com/img%2Fpreview.gif" alt=""></div>
        <div class="specialty">物联网工程</div>
        <div>client+admin：</div>
        <div>Vue3+Ts+Pinia+element-plus</div>
        <div>server：</div>
        <div>Koa+JWT+MySql</div>
        <div style="font-weight:bolder;">-简介-</div>
        <div>博主很菜技术很有限,还有很长的路要走,希望自己能够不断的坚持下去,即使将来还会遇到更多更大的挫折也一定要走得更远...</div>
      </div>
      <div class="projectTime">
        <el-timeline>
          <el-timeline-item
            v-for="(activity, index) in activities"
            :key="index"
            :timestamp="activity.timestamp"
            :icon="activity.icon"
            :type="activity.type"
            :size="activity.size"
          >
            {{ activity.content }}
          </el-timeline-item>
        </el-timeline>
      </div>
      <div>
        <div class="jks">
          <img src="https://stone-1315935641.cos.ap-chengdu.myqcloud.com/img%2Fjks.png" alt="">
        </div>
      </div>
  </div>
</template>

<script lang="ts" setup>

const activities = [
  {
    content: '设计数据库后端',
    timestamp: '2022-11-2',
    type: 'primary',
    icon: 'Sunrise',
    hollow: true,
    size: 'large',
  },
  {
    content: '后台管理',
    timestamp: '2022-11-16',
    type: 'info',
    icon: 'MostlyCloudy',
    hollow: true,
    size: 'large',
  },
  {
    content: '前台展示',
    timestamp: '2022-11-30',
    type: 'warning',
    icon: 'Sunny',
    hollow: true,
    size: 'large',
  },
  {
    content: '博客完结',
    timestamp: '2022-12-21',
    type: 'danger',
    icon: 'Moon',
    hollow: true,
    size: 'large',
  }
]

</script>

<style scoped lang="less">
.introduce {
  position: relative;
  .content {
    text-align: center;
    border-bottom: 1px solid #e9e9eb;
    padding: 0 5px;
    
    div {
      margin: 10px 0;
      font-size: 13px;
      color: #73767a;
    }
    .avatar {
      margin-top: 0;
      img {
        margin-top: 10px;
        width: 100px;
        height: 100px;
        border-radius: 50%;
      }
    }
  }
  .projectTime {
    margin-bottom: 15px;
    margin-top: 35px;
    display: flex;
    justify-content: center;
    
  }
  .jks {
    display: flex;
    justify-content: center;
  }
}

</style>